<g:each in="${messageList.reverse()}" status="i" var="message">
  <div class="messagetitle">
        <span class="username">${message.username}</span>
        <g:formatDate format="yyyy-MM-dd HH:mm:ss" date="${message.createDate}"/>
  </div>
  <div> ${message?.content}</div>
</g:each>
